package ch.ethz.group3.myalbum.shared;

import java.io.Serializable;

import ch.ethz.group3.myalbum.client.GroupListRecord;

public class GroupModel implements Serializable {

	private String groupName;
	private String description;
	private String thumbnail;
	private String id;
	private int memberCount;
	private int photoCount;

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return this.id;
	}

	public void setMemberCount(int members) {
		this.memberCount = members;
	}

	public int getMemberCount() {
		return this.memberCount;
	}

	public void setPhotoCount(int photoCount) {
		this.photoCount = photoCount;
	}

	public int getPhotoCount() {
		return this.photoCount;
	}

	public GroupListRecord getRecord() {
		return new GroupListRecord(id, thumbnail, groupName, memberCount,
				photoCount);
	}
}
